﻿using Abp.Domain.Entities;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace CPPProject.CppModel
{
    [Table("合同")]
    public class 合同 : Entity<Guid>
    {
        [MaxLength(100)]
        public string 合同编号 { get; set; }
        [MaxLength(100)]
        public string 业务类型 { get; set; }
        [MaxLength(100)]
        public string 客户 { get; set; }
        [MaxLength(100)]
        public string 结算方式 { get; set; }
        [MaxLength(100)]
        public string 地址 { get; set; }
        public float 付款账期 { get; set; }
        public DateTime 开始日期 { get; set; }
        public DateTime 结束日期 { get; set; }
        public float 对账单日 { get; set; }
        [MaxLength(100)]
        public string 资产编码 { get; set; }
        [MaxLength(100)]
        public string 资产名称 { get; set; }
        public float 数量 { get; set; }
        public float 单价 { get; set; }
        /// <summary>
        /// 公司ID
        /// </summary>
        [MaxLength(100)]
        public string NCompanyID { get; set; }
    }
}
